/*
 * Title.java
 * $Id: $
 *
 * Revision History
 *
 * Date             |  Programmer   |  Notes
 * ----------------------------------------------------------
 * Jul 15, 2009        |      Zhengnan Zhou         |  initial
 * 
 * 
 * **********************************************************
 */

package tofc.elements;

import tofc.BaseOFC;
import tofc.style.TextStyle;

/**
 * Class description goes here.
 * 
 * @author		Zhengnan Zhou
 * @version 	$Revision$, $Date$
 */
public class Title extends BaseOFC{
    
    private String text;
    private String style;    

    public Title(String text){
        this.text=text;
        this.style ="";
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(TextStyle css) {        
        this.style = css.toCss();
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
    
}
